package com.paas.form.entity;

import com.paas.common.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("form_view_change_info_detail")
@ApiModel(value="FormViewChangeInfoDetail对象", description="")
public class FormViewChangeInfoDetailEntity extends BaseModel {
	
	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value = "主键id")
	@TableId
	private String id;

	@ApiModelProperty(value = "变更主表id")
	@TableField("change_info_id")
	private String changeInfoId;

	@ApiModelProperty(value = "类型A、D、M")
	@TableField("type")
	private String type;

	@ApiModelProperty(value = "业务数据id")
	@TableField("link_id")
	private String linkId;

	@ApiModelProperty(value = "表")
	@TableField("link_table")
	private String linkTable;

	@ApiModelProperty(value = "变更字段")
	@TableField("field_code")
	private String fieldCode;

	@ApiModelProperty(value = "变更字段描述")
	@TableField("field_name")
	private String fieldName;


	@ApiModelProperty(value = "属性原值")
	@TableField("old_value")
	private String oldValue;

	@ApiModelProperty(value = "更新值")
	@TableField("new_value")
	private String newValue;

	@ApiModelProperty(value = "修改人id")
	@TableField("modify_id")
	private String modifyId;

	@ApiModelProperty(value = "数据状态")
	@TableField("status")
	private String status;

}